<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    	<script type="text/javascript">
			function open1(plugin){
				var title;
				switch(plugin){
					case "commodity_list":
						title="商品列表";
						break;
					case "commodityClass_show":
						title="商品类别列表";
						break;
					case "feedback_list":
						title="意见反馈列表";
						break;
					case "order_list":
						title="订单列表";
						break;
					case "administrator_list":
						title="管理员用户列表";
						break;
					case "user_list":
						title="客户用户列表";
						break;
				}
				if ($('#tt').tabs('exists',title)){
					$('#tt').tabs('select', title);
				} else {
					$('#tt').tabs('add',{
						title:title,
						href:plugin+'.action',
						closable:true
					});
				}
			}
		</script>
    	<div data-options="region:'west',split:true" title="导航栏" style="width:250px;">
            <div class="easyui-accordion" data-options="fit:true,border:false">
                <div title="商品类别管理" style="padding:10px;">
                	<ul style="list-style:none;margin: 0px;padding: 0px;background: #d8ebf7;">
                		<li style="font-weight: bold;color: #005790;padding-bottom: 5px;"><a href="#" onclick="open1('commodityClass_show')">商品类别列表</a></li>
                	</ul>
                </div>
                <div title="商品管理" style="padding:10px;">
                    <ul style="list-style:none;margin: 0px;padding: 0px;background: #d8ebf7;">
                		<li style="font-weight: bold;color: #005790;padding-bottom: 5px;"><a href="#" onclick="open1('commodity_list')">商品列表</a></li>
                	</ul>
                </div>
                <div title="订单管理" style="padding:10px;">
                    <ul style="list-style:none;margin: 0px;padding: 0px;background: #d8ebf7;">
                		<li style="font-weight: bold;color: #005790;padding-bottom: 5px;"><a href="#" onclick="open1('order_list')">订单列表</a></li>
                	</ul>
                </div>
                <div title="客户管理" style="padding:10px;">
                    <ul style="list-style:none;margin: 0px;padding: 0px;background: #d8ebf7;">
                		<li style="font-weight: bold;color: #005790;padding-bottom: 5px;"><a href="#" onclick="open1('user_list')">客户列表</a></li>
                	</ul>
                </div>
                <div title="投诉管理" style="padding:10px">
                    <ul style="list-style:none;margin: 0px;padding: 0px;background: #d8ebf7;">
                		<li style="font-weight: bold;color: #005790;padding-bottom: 5px;"><a href="#" onclick="open1('feedback_list')">意见反馈列表</a></li>
                	</ul>
                </div>
                <c:if test="${sessionScope.admin.administratorType==1 }">
                <div title="管理员用户管理" style="padding:10px">
                    <ul style="list-style:none;margin: 0px;padding: 0px;background: #d8ebf7;">
                		<li style="font-weight: bold;color: #005790;padding-bottom: 5px;"><a href="#" onclick="open1('administrator_list')">管理员用户列表</a></li>
                	</ul>
                </div>
                </c:if>
            </div>
        </div>